package com.neusoft.model;

import java.util.Date;

/**
 * JavaBean类，与数据库mall中的ums_admin一一对应
 * @author 86185
 *
 */
public class Admin {
	private Long id;
	private String username;
	private String password;
	private String icon;
	private String email;
	private String nickName;
	private String note;
	private Date createTime;
	private Date loginTime;
	private Integer status;
	
	public Admin() {
		
	}
	
	public Admin(Long id, String username, String password, String icon, String email, String nickName, String note,
				 Date createTime, Date loginTime, Integer status) {
		this.id = id;
		this.username = username;
		this.password = password;
		this.icon = icon;
		this.email = email;
		this.nickName = nickName;
		this.note = note;
		this.createTime = createTime;
		this.loginTime = loginTime;
		this.status = status;
	}



	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getIcon() {
		return icon;
	}
	public void setIcon(String icon) {
		this.icon = icon;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getNote() {
		return note;
	}
	public void setNote(String note) {
		this.note = note;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getLoginTime() {
		return loginTime;
	}
	public void setLoginTime(Date loginTime) {
		this.loginTime = loginTime;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	
	@Override
	public String toString() {
		return "Admin [id=" + id + ", username=" + username + ", password=" + password + ", icon=" + icon + ", email="
				+ email + ", nickName=" + nickName + ", note=" + note + ", createTime=" + createTime + ", loginTime="
				+ loginTime + ", status=" + status + "]";
	}
	
}
